package com.cdxy.biz.process.impl;

import com.cdxy.biz.process.IUserSaveBizProcess;
import com.cdxy.model.dto.base.resp.BasePageResp;
import com.cdxy.model.dto.req.SaveHotelReq;
import com.cdxy.model.dto.req.SaveListReq;
import com.cdxy.model.dto.req.SavePostReq;
import com.cdxy.model.dto.req.SaveSceneReq;
import com.cdxy.model.dto.resp.SaveListResp;
import com.cdxy.service.IUserSaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: tangy
 * @Date: 2020/4/1 17:45
 */
@Service
public class UserSaveBizProcessImpl implements IUserSaveBizProcess {

    @Autowired
    private IUserSaveService userSaveService;

    @Override
    public void savePost(SavePostReq savePostReq) {
        userSaveService.savePost(savePostReq);
    }

    @Override
    public void saveHotel(SaveHotelReq saveHotelReq) {
        userSaveService.saveHotel(saveHotelReq);
    }

    @Override
    public void saveScene(SaveSceneReq saveSceneReq) {
        userSaveService.saveScene(saveSceneReq);
    }

    @Override
    public BasePageResp<SaveListResp> saveList(SaveListReq saveListReq) {
        return userSaveService.saveList(saveListReq);
    }
}
